Skip to content

Conversation

@WeylonSantana
Copy link
Contributor

@WeylonSantana WeylonSantana commented Jan 14, 2025

resolves #2460

  1. Hit entity when entity is invisble in 3 cases
    a. when using projectiles spells
    b. when using aoe spells
    c. when using single target spell on a visible player, but there is player in stealth inside hit radius
  2. Dont keep looking at the entity if the entity is invisible
  3. If there is another valid target on range when the current target becomes invisible, change target.

@WeylonSantana WeylonSantana changed the title fix: npc not hitting player when casting projectile or aoe fix: some npc behaviors Jan 15, 2025
@dhmello
Copy link
Contributor

dhmello commented Jan 15, 2025

Does this also work with the isHide function used by events?

@pandinocoder pandinocoder merged commit 90b62d7 into AscensionGameDev:main Jan 15, 2025
1 check passed
@pandinocoder pandinocoder deleted the fix-2460 branch January 15, 2025 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: NPCs spells can't hit steath players

3 participants